<template>
    <div class="floor">
        <div class="floor-left">
            <floor-left-vue :totle="totle"></floor-left-vue>
        </div>
        <div class="floor-right">
            <floor-right-vue @sub="sub"></floor-right-vue>
        </div>
    </div>
    
</template>

<script>
    import floorLeftVue from '@/components/Editor/Floor/FloorLeft';
    import floorRightVue from '@/components/Editor/Floor/FloorRight';
    export default {
    props:{
        totle:{
            type:Number,
        }
    },
    components:{
        floorLeftVue,
        floorRightVue,
    },
    methods:{
        sub(){
            this.$emit('sub')
        }
    }
}
</script>

<style scoped>
.floor{
    background: #fff;
    display: flex;
    justify-content: space-between;
    position: fixed;
    bottom: 0;
    width: 100%;
}
.floor-left{
    width: 150px;
    height: 70px;
    margin-left: 200px;
}
.floor-right{
    margin-right: 200px;
    line-height: 70px;
}
</style>